package org.chen.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.chen.enu.ContentPosition;
import org.chen.model.MovieJson;
import org.chen.template.MovieDetail;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface IMovieJsonService {
    IPage<MovieJson> getMovieListPage(Page<MovieJson> page, String name);

    void batchDeleteMovies(List<Long> ids);

    List<MovieDetail> exportMoviesData(List<Long> ids);

    void deleteMovieById(Long id);

    MovieDetail getMovieDetail(String name);

    String startBatchProcess(MultipartFile file, ContentPosition contentPosition);
}
